<template>
  <div>


    <el-table  :data="startingMedia">
      <el-table-column label="媒体类型" align="center" prop="carrie" width="80"/>
      <el-table-column label="发布时间" align="center" prop="publishTime" width="160">
      </el-table-column>
      <el-table-column label="标题"  >
        <template slot-scope="scope">
          <el-link
            style="margin-bottom: 12px; color: #1f86d9;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;display: inline-block;width: 100%; ">
            {{scope.row.title}}
          </el-link>
        </template>
      </el-table-column>
      <el-table-column label="信息来源" align="center" width="180">
        <template slot-scope="scope">
          <el-link :href="scope.row.url" target="_blank">
            {{scope.row.siteName}}
          </el-link>
        </template>
      </el-table-column>

    </el-table>



  </div>
</template>
<script>

export default {

  data() {
    return {
      loading: true,
      startingMedia:[{

        "title": "塔利班重夺阿富汗 杨承军：台当局应看到 美国扶持的军队战斗力都不行",
        "siteName": "央视网",
        "publishTime": "2021-07-29 16:08:31",
        "carrie": "电视"
      }, {

        "title": "军情前哨站｜美国一年半前就已放弃阿富汗 重回老战略搅动欧亚",
        "siteName": "中国国际广播电台",
        "publishTime": "2021-07-29 16:08:31",
        "carrie": "广播"
      }, {

        "title": "塔利班缴获大批美制战机，美媒炒作：不用担心相关技术落入中俄手中",
        "siteName": "参考消息",
        "publishTime": "2021-07-29 16:08:31",
        "carrie": "报纸"
      }, {

        "title": "回归正道的“美国072” 要不还是借人陆军的船凑合凑合？",
        "siteName": "新浪微博",
        "publishTime": "2021-07-29 16:08:31",
        "carrie": "互联网"
      }, {

        "title": "美军重新重视发展水雷 构思“水雷堡垒”作战新概念",
        "siteName": "三联生活周刊",
        "publishTime": "2021-07-29 16:08:31",
        "carrie": "杂志"
      }],
      queryParams: {
        pageNum: 1,
        pageSize: 5,
      }
    }
  },
  computed: {
  },
  watch: {},
  mounted() {

  },
  created() {

  },
  methods: {

  }
}
</script>
